package com.gets.web.model;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

/**
 * Created by me on 2016/6/24.
 * 图集
 */
@Entity
@Table(name = "image_set", schema = "", catalog = "me")
public class ImageSetEntity{
    private int id;
    private int all_images_id;
    private String url;
    @Id
    @Column(name = "id", nullable = true, insertable = true, updatable = true, length = 8)
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
    @Basic
    @Column(name = "all_images_id", nullable = false, insertable = true, updatable = true)
    public int getAll_images_id() {
        return all_images_id;
    }

    public void setAll_images_id(int all_images_id) {
        this.all_images_id = all_images_id;
    }
    @Basic
    @Column(name = "url", nullable = true, insertable = true, updatable = true, length = 50)
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
